<!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8">
		<title></title>
        <script src="__JS__jquery.js"></script>
        <link rel="stylesheet" href="__CSS__Users/Users-personal.css" />
        <link rel="stylesheet" href="__CSS__commonc.css" />
        <script src="__JS__Users/personal.js"></script>
         <script src="__JS__index.js"></script>
	</head>
	<body>
		<include file="./Application/Home/View/Common/header.html" />
		<div id="content">
			<div class="content-left">
				<ul class="per-list">
					<li class="prelist-li">个人资料<i>&gt;</i></li>
					<li class="Jurisdiction-li">空间权限</li>
					<li>头像设置</li>
					<li>空间资料</li>
					<li>我的爱好</li>
					<li>空间权限</li>
				</ul>
			</div>
			<div class="content-right">
				<div class="prelist">
					<h3>个人资料</h3>
					<div class="group">
						<div class="group-label">
							<label for="nickname">昵称:</label>
						</div>
						<div class="group-input">
							<input type="text" id="nickname" name="nickname" value="{$tx.nickname}" autofocus maxlength="6"   />
						</div>
					</div>
					<div class="group">
						<div class="group-label">
							<label for="phone">手机:</label>
						</div>
						<div class="group-input">
							<input type="text" id="phone" name="phone" value="{$tx.phone}" />
						</div>
					</div>
					<div class="group">
						<div class="group-label">
							<label for="phone">性别:</label>
						</div>
						<div class="group-input">
							<select name="sex" id="sex">
								<option value="1" <if condition="$tx.sex eq 1">selected="selected"</if>>男</option>
								<option value="2"<if condition="$tx.sex eq 2">selected="selected"</if>>女</option>
							</select> 
						</div>
					</div>
					<div class="group">
						<div class="group-label">
							<label>出生日期:</label>
						</div>
						<div class="group-input">
							 <input id="start" type="date" value="{$tx.bsd}"> 
						</div>
					<div class="group">
						<div class="group-label">
							<label for="email">常用邮箱:</label>
						</div>
						<div class="group-input">
							<input type="email" name="email" id="email" value="{$tx.email}" />
						</div>
					</div>	
					<div class="group">
						<div class="group-label">
							<label for="autograph">个性签名:</label>
						</div>
						<div class="group-input">
							<textarea name="autograph" id="autograph" placeholder="{$tx.autograph}"></textarea>
						</div>
					</div>
					<div class="group">
						<div class="group-label">
							<label for="occupation">职业:</label>
						</div>
						<div class="group-input">
							<input type="text" name="occupation"  id="occupation"  value="{$tx.occupation}"/>
						</div>
					</div>
					<div class="group">
						<input type="hidden" id="uid" name="uid" value="{$uid}" />
						<button id="button" title="{:U('Userperconal/addPerconal')}">提交</button>
					</div>
				</div>
			</div>
			<div class="Jurisdiction" style="display:none;">
				<h3>空间权限</h3>
				<div class="tswz">
					你当前权限是{$jurList.type_name}
				</div>
				<foreach name="qx" item="vo">
					<div class='qxsz <if condition="$vo['id'] eq $jurList['id']"> qxszclick</if>' url="{:U('Userperconal/upJurisdiction')}" qx-id="{$vo.id}">{$vo.type_name}</div>
				</foreach>
			</div>
			<div class="touxiang" style="display:none;">
				<h3>头像设置</h3>
				<div class="xuanze">
					<ul class="touxiangxz">
						<foreach name="touxiang" item="vo">
							<li>
								<figure>
									<img src="__ROOT__{$vo.imgpath}"/>
									<figcaotion>{$vo.imgname}</figcaotion>
								</figure>
							</li>
						</foreach>
					</ul>
					<div class="button-touxiang">
						<input type="button" value="提交" class="button" data-url="{:U('Userperconal/addtouxiang')}"/>
					</div>
				</div>
			</div>
		</div>
		<input type="hidden" name="uid" id="user_id" url="{:U('Userperconal/upJurisdiction')}" value="{$Think.session.user_id}" />
	</body>
</html>
